4.2 Getting Information about Remote Devices  
  4.2.3 Disconnecting and suspending Telnet sessions  
One important feature of the Telnet command is the suspend feature. However, one potential problem exists when a Telnet session is suspended and the Enter key is pressed. Cisco IOS software resumes the connection to the most recently suspended Telnet connection. The Enter key is used frequently. With a suspended Telnet session, it is possible to reconnect to another router. This is dangerous when changes are made to the configuration or using EXEC commands. Always pay particular attention to what router is being used when utilizing the suspended Telnet feature.

A session is suspended for a limited time, to resume a Telnet session that has been suspended, just press Enter. The command show sessions will show what Telnet sessions are taking place.

The procedure for disconnecting a Telnet session is as follows:

  • Enter the command disconnect
  • Follow the command with the name or IP address of the router. Example:

    Denver>disconnect paris

The procedure for suspending a Telnet session is as follows:

  • Press Ctrl-Shift-6, then x
  • Enter the name of the router or IP address
 

Lab Activity

Lab Exercise: Suspending and Disconnecting Telnet Sessions

In this lab, the students will establish a Telnet session with a remote router and then suspend and re-establish a telnet session.